/**
 * 
 */
package org.nanhill.commons.pattern.flow;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2007-1-3
 */
public class DefaultViewState extends AbstractState implements ViewState {
	private String view;

	/**
	 * @param id
	 */
	public DefaultViewState(String id, String view) {
		super(id);
		this.view = view;
	}

	/**
	 * Get view name.
	 * 
	 * @return view name.
	 */
	public String getView() {
		return view;
	}

}
